package com.hyc.MySpring.entity;

import com.hyc.MySpring.Annotation.Component;
import com.hyc.MySpring.Annotation.Value;
import lombok.Data;

/**
 * @projectName: SpringIOC
 * @package: com.hyc.MySpring.entity
 * @className: Order
 * @author: 冷环渊 doomwatcher
 * @description: TODO
 * @date: 2022/3/25 1:08
 * @version: 1.0
 */
@Component("myOrder")
@Data
public class Order {
    @Value("xxx123")
    private String orderId;
    @Value("1000.5")
    private Float price;
}
